package demo6;

public class test {
    public static void main(String[] args) {
        MyTree myTree = new MyTree();
        TreeNode root = myTree.createTree();
        System.out.println(myTree.isCompleteTree(root));
//        myTree.preorderTraversal(root);
//        System.out.println(myTree.size(root));
//        System.out.println(myTree.getLeafNodeCount(root));
//        System.out.println(myTree.getKLevelNodeCount(root, 2));
//        TreeNode find = myTree.getVal(root,1);
//        System.out.println(myTree.toString(find));
    }
}
